<?php
require "model/new.model.php";
session_start();
if(isset($_SESSION['username'])){
 $id = $_GET["id"];
 $arr = newList::shownew($id);
 $str = $arr['str'];
 $str1 = $arr['str1'];
}else{
    header("Location:../log.php");
    exit();
}
require "view/newedit2.tpl.php";